package org.jeecg.modules.tt_question_collect.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.tt_question_collect.entity.TtCollectFlowNode;

import java.util.List;
import java.util.Map;

/**
 * @Description: 审批流程节点表
 * @Author: jeecg-boot
 * @Date: 2021-02-02
 * @Version: V1.0
 */
public interface ITtCollectFlowNodeService extends IService<TtCollectFlowNode>
{
	
	Result<?> updatesortid(String stortid,String id);
	
	List<Map<String, Object>> ids(String auditType, String idname);

	Result<?> submitProcess(String id, String flowCode,String lclx);
	
	public List<Map<String,Object>> queryCollectNodesList(String nodeid);

	int maxSortidByid(String tableid,String lclx);
	
	int maxSortidBycode(String flowcode);

	Result<?>  insertId(List<Map<String, Object>> listuser,TtCollectFlowNode ttCollectFlowNode);

	Result<?> updatebyId(List<Map<String, Object>> listuser, TtCollectFlowNode ttCollectFlowNode);

	String getfacode();
}
